package cn.jark.example.web.service.impl;

import cn.jark.example.web.entity.AdContract;
import cn.jark.example.web.mapper.AdContractMapper;
import cn.jark.example.web.service.IAdContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 雨一直夏灬(须知少年凌云志, 曾许人间第一流)
 * @since 2020-10-28
 */
@Service
@Transactional(rollbackFor = {Exception.class})
public class AdContractServiceImpl implements IAdContractService {

    @Autowired
    AdContractMapper adContractMapper;


    public void save(AdContract adContract) {
        adContractMapper.insert(adContract);
    }


}
